package com.hyh.model.pizzastore;

import com.hyh.model.ingredient.ChicagoPizzaIngredientFactory;
import com.hyh.model.ingredient.PizzaIngredientFactory;
import com.hyh.model.pizza.ChicagoStyleCheesePizza;
import com.hyh.model.pizza.Pizza;
import com.hyh.model.pizzastore.PizzaStore.PIZZA_STYLE;

public class ChicagoPizzaStore extends PizzaStore {

	@Override
	protected Pizza createPizza(PIZZA_STYLE pizzaStyle) {
		switch(pizzaStyle){
		case Cheese:
			PizzaIngredientFactory factory = new ChicagoPizzaIngredientFactory();
			return new ChicagoStyleCheesePizza(factory);
		case Clam:
			break;
		}
		return null;
		
	}

}
